{template "content","header"}

{if $catid==1}
<!-- banner -->
<div class="bannerPic" style="background-image: url(/uploadfile/uploads/allimg/20230317/2-23031F93IRc.jpg);">
</div>
{/if}
<div class="tiao"></div>
<!-- Start Main Content Area -->
<section class="about_sec ">
    <div class="container">
        <div class="notification-boxes " id="newsBox">
            {pc:content action="lists" catid="$catid" num="10" order="id DESC" page="$page"}
            <!-- 主新闻 -->
            <?php $first_record=array_slice($data,0,1);?>
            <div class="main-news-wrap fadeLeft">
                <div class="main-news-title">公司新闻</div>
                <div class="main-news-content row">
                    <div class="main-news-pic col-md-6"><img style="max-width: 525px;max-height: 367px;" src="{$first_record[0][thumb]}" alt="{$first_record[0][title]}" srcset="" class="image"></div>

                    <ul class="company-news-item-wrap col-md-6">
                        <li class="company-news-item">
                            <div class="company-news-date">
                                {date('Y.m.d',$first_record[0][inputtime])}
                            </div>
                            <div class="company-news-title"><a href="{$first_record[0][url]}" title="{$first_record[0][title]}">{$first_record[0][title]}</a></div>
                            <div class="company-news-discription">
                                {$first_record[0][description]}
                            </div>
                            <div class="news-item-more"><a href="{$first_record[0][url]}l"
                                                           title="{$first_record[0][title]}">MORE></a>
                            </div>
                        </li>

                    </ul>

                </div>
            </div>


            <!-- 新闻内容 -->
            <div class="classiy-news-wrap fadeUp">
                <div class="news-up-wrap ">
                    <div class="news-up-allNews">全部新闻</div>

                    <form action="{APP_PATH}index.php" method="get" target="_blank">

                        <div class="news-up-right ">
                            <!--<select class="form-control optionStyle">-->
                            <!--    <option>按年份</option>-->
                            <!--  </select>-->
                            <div class="form-group searchWrap ">
<!--                                <input type="text" class="searchInput" name="keywords">-->
<!--                                <button class="searchBtn">搜索</button>-->
                                <input type="hidden" name="m" value="search"/>
                                <input type="hidden" name="c" value="index"/>
                                <input type="hidden" name="a" value="init"/>
                                <input type="hidden" name="typeid" value="1" id="typeid"/>
                                <input type="hidden" name="siteid" value="{$siteid}" id="siteid"/>
                                <input type="text" class="searchInput" name="q" id="q"/>
                                <input type="submit" value="搜索" class="searchBtn" />
                            </div>
                        </div>

                    </form>


                </div>
            </div>

            <ul>
                {loop $data $r}
                <li class="news-item-wrap">
                    <div class="news-item-time ">
                        <p class="news-item-date">{date('d',$r[inputtime])}</p>
                        <p class="news-item-year">{date('Y-m',$r[inputtime])}</p>
                    </div>
                    <div class="news-item-content">
                        <div class="news-item-title"><a href="{$r[url]}" title="{$r[title]}">{$r[title]}</a></div>
                        <div class="news-item-discription">{$r[description]}</div>
                        <div class="news-item-more"><a href="{$r[url]}" title="{$r[title]}">MORE></a></div>
                    </div>
                </li>
                {/loop}
            </ul>
            {/pc}
        </div>


    </div>
    </div>
</section>
<!-- End Main Content Area -->
<!--页尾-->

<div class="container-fluid pagecen pageCut" style="margin-bottom:30px">
    <ul class="pagelist row justify-content-center">
        {$pages}
<!--        <li><a>首页</a></li>-->
<!--        <li><a>上一页</a></li>-->
<!--        <li class="active"><a>1</a></li>-->
<!--        <li><a href="/xinwenzhongxin/lists_80_2.html" data-ey_fc35fdc="html" data-tmp="1">2</a></li>-->
<!--        <li><a href="/xinwenzhongxin/lists_80_3.html" data-ey_fc35fdc="html" data-tmp="1">3</a></li>-->
<!--        <li><a href="/xinwenzhongxin/lists_80_4.html" data-ey_fc35fdc="html" data-tmp="1">4</a></li>-->
<!--        <li><a href="/xinwenzhongxin/lists_80_5.html" data-ey_fc35fdc="html" data-tmp="1">5</a></li>-->
<!--        <li><a href="/xinwenzhongxin/lists_80_2.html" data-ey_fc35fdc="html" data-tmp="1">下一页</a></li>-->
<!--        <li><a href="/xinwenzhongxin/lists_80_43.html" data-ey_fc35fdc="html" data-tmp="1">末页</a></li>-->
    </ul>
</div>
{template "content","footer"}